using System.Threading;
using Microsoft.SmallBasic.Library;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SmallBasicFun.Tests.Quiz
{
	[TestClass]
	public class HouseQuizTest
	{

		[TestMethod]
		public void TestQuiz()
		{
			SmallBasicFun.Quiz.StartHouseQuizAt += question1;
			ApprovalHelper.ApproveProgramWindow();
		}

		private static Primitive length = 0;

		private static void question1()
		{
			length = 7;
		}
		private static void medium()
		{
			length = 21;
		}
		private static void large()
		{
			length = 63;
		}
		private static void movethelength()
		{
			Tortoise.Move(length);
		}
		private static void turnthecorner()
		{
			Tortoise.Turn(-360/3);
		}
		private static void drawaside()
		{
			movethelength();
			turnthecorner();
		}
		
	}
}